package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;

import java.util.Map;

//前台用户
public interface UserService {

    //发送短信
    void sendMsg(String phone);

    //登录注册
    ResultInfo login(String phone, String code);
    //退出登录
    void logout();
}
